package com.egitim.cati;
import org.apache.wicket.markup.html.border.Border;
import org.apache.wicket.markup.html.border.BoxBorder;

import com.egitim.panels.BottomPanel;
import com.egitim.panels.HeaderPanel;
import com.egitim.panels.TopPanel;

public class NavomaticBorder extends Border {
    public NavomaticBorder(final String componentName) {
        super(componentName);
        BoxBorder navigationBorder= new BoxBorder("navigationBorder");
        HeaderPanel headerPanel=new HeaderPanel("headerPanel");
        navigationBorder.add(headerPanel);	
        add(navigationBorder);
        
        add(new BoxBorder("bodyBorder"));
       
        BoxBorder bottomBorder= new BoxBorder("bottomBorder");
       
        TopPanel topPanel=new TopPanel("topPanel");
	    add(topPanel);
	    
        BottomPanel bottomPanel=new BottomPanel("bottomPanel");
        bottomBorder.add(bottomPanel);
       
        add(bottomBorder);
    }
}